Requirements changed since a defined date

Hi

Does anyone know how to filter/DXL to retrieve all Requirements where the Object text has been changed since a defined date, lease?
twosmiles - Mon Oct 05 12:09:58 EDT 2009

Re: Requirements changed since a defined date
dpechacek - Mon Oct 05 13:05:58 EDT 2009

Look into History in the DXL Reference manual.

AAI Services, Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com

Re: Requirements changed since a defined date
mcnairk - Mon Oct 05 14:31:45 EDT 2009

Something like this maybe:
 

Object o
History h
Date cutOffDate = "Jan 1 2009"
Date d
 
print "Abs #" "\t" "Change Date" "\n"
 
for o in current Module do {
    for h in o do {
        if (h.type == modifyObject) then {
                if (h.date > cutOffDate) then { 
                                d = h.date
                                print o."Absolute Number" "\t"  d "\n"
 
                        }
            }
        }
    }

Re: Requirements changed since a defined date
twosmiles - Tue Oct 06 03:42:19 EDT 2009

dpechacek - thanks - I used that to help understand mcnairk's reply.

mcnairk - thanks - got that to work :) BTW I tried to get it to give me Object Identifier but it didn't like that - and looking in DXL manual under history cannot find this mentioned. Do you (or anyone) know how to get the Object Identifier (e.g. prefix plus unique ID - like SRD1) printed instead of the Absolute Number?

Thanks again

Re: Requirements changed since a defined date
SystemAdmin - Tue Oct 06 03:56:08 EDT 2009

twosmiles - Tue Oct 06 03:42:19 EDT 2009
dpechacek - thanks - I used that to help understand mcnairk's reply.

mcnairk - thanks - got that to work :) BTW I tried to get it to give me Object Identifier but it didn't like that - and looking in DXL manual under history cannot find this mentioned. Do you (or anyone) know how to get the Object Identifier (e.g. prefix plus unique ID - like SRD1) printed instead of the Absolute Number?

Thanks again

For Object Identifier use identifier function, e.g. "print identifier(o)".

Re: Requirements changed since a defined date
twosmiles - Tue Oct 06 07:59:48 EDT 2009

Pekka - Thanks - that works exactly as I want it.

Last question, please, how to get that DXL output into a spreadsheet?

Thanks!

Re: Requirements changed since a defined date
twosmiles - Wed Oct 07 10:08:24 EDT 2009

twosmiles - Tue Oct 06 07:59:48 EDT 2009
Pekka - Thanks - that works exactly as I want it.

Last question, please, how to get that DXL output into a spreadsheet?

Thanks!

I worked out how to do this using streamout/write and out commands - so subject closed thanks.